import java.util.concurrent.TimeUnit

import org.openqa.selenium.By
import org.openqa.selenium.WebDriver
import org.openqa.selenium.chrome.ChromeDriver

System.setProperty("webdriver.chrome.driver", "D:/Williams/Proyecto Tesis/Archivos Varios/chromedriver_win32_2.2/chromedriver.exe")

def WebDriver driver = new ChromeDriver()

driver.get('https://testsnm.quadrem.net/snm/login.aspx')
driver.findElement(By.id("txtUserID")).sendKeys("${username}");
driver.findElement(By.id("txtOrgId")).sendKeys("${orgid}");
driver.findElement(By.id("txtPassword")).sendKeys("${password}");		
driver.findElement(By.id("btnLogin")).click();
